Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 26, 2023

Fixes #16224

@odersky odersky requested a review from yawen-guan June 26, 2023 20:34
Pickling tests only work if the program is consistently compiled
with capture checking on or off. A language import alone will not
do it, since that will be visible when pickling but not when unpickling.

The reason is that pickler test does not scan for language imports, i.e.
it does not call CompilationUnit.force.
@odersky odersky merged commit 484be60 into scala:main Jun 27, 2023
@odersky odersky deleted the fix-16224 branch June 27, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overload resolution bug when -Ycc is enabled.
2 participants